package com.loto.insurance.framework.config;

public class ConfigManagementAir extends ConfigManagement {
  private final String TK_INTERFACE = "TK";
  private final String CPIC_INTERFACE = "CPIC";
  private final String MY_INTERFACE = "MY";
  private final String PA_INTERFACE = "PA";
  private final String PICC_INTERFACE = "PICC";
  private final String TA_INTERFACE = "TA";
  private final String BDFZ_INTERFACE = "BDFZ";
  private String productCode;

  private TKConfigAir TKConfiguration;

  private PICCConfigAir PICCConfiguration;

  private PAConfigAir PAConfiguration;

  private CPICConfigAir CPICConfiguration;

  private CPICConfigAir BDFZConfiguration;

  public ConfigManagementAir(String productCode) {
	this.productCode = productCode;
  }

  public TKConfigAir getTKConfiguration() {
	return getConfigFile(TK_INTERFACE, productCode, TKConfigAir.class);
  }

  public PICCConfigAir getPICCConfiguration() {
	return getConfigFile(PICC_INTERFACE, productCode, PICCConfigAir.class);
  }

  public PAConfigAir getPAConfiguration() {
	return getConfigFile(PA_INTERFACE, productCode, PAConfigAir.class);
  }

  public CPICConfigAir getCPICConfiguration() {
	return getConfigFile(CPIC_INTERFACE, productCode, CPICConfigAir.class);
  }

  public BDFZConfigAir getBDFZConfiguration() {
	return getConfigFile(BDFZ_INTERFACE, productCode, BDFZConfigAir.class);
  }

  public String getProductCode() {
	return productCode;
  }

  public void setProductCode(String productCode) {
	this.productCode = productCode;
  }
}
